/**
 * 
 * @Project le cOeur - Data Virtualization
 * @Date 27.11.2012
 * @Author Aebi Pascal, Kocher Marc
 * @School BFH-TI Biel, Bachelor Thesis
 *
 */

package main.framework.resource;

import main.framework.exception.ResourceMethodExecutionException;

/**
 * This interface represents a resource method object.
 */
public interface ResourceMethod {
	
	/** 
	 * Executes the resource method.
	 * 
	 * @param resource The resource which corresponds to the resource method and which is affected by its execution.
	 * @throws ResourceMethodExecutionException If the resource method could not executed successfully.
	 */
	public void execute(Resource resource) throws ResourceMethodExecutionException;
	
}
